using Google.ProtocolBuffers;
using micromsg.Proto;
using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using System.IO;
using System.Runtime.CompilerServices;
namespace micromsg
{
	[GeneratedCode("ProtoGen", "2.3.0.277"), DebuggerNonUserCode, CompilerGenerated]
	public sealed class GetA8KeyReq : GeneratedMessageLite<GetA8KeyReq, GetA8KeyReq.Builder>
	{
		[GeneratedCode("ProtoGen", "2.3.0.277"), DebuggerNonUserCode, CompilerGenerated]
		public sealed class Builder : GeneratedBuilderLite<GetA8KeyReq, GetA8KeyReq.Builder>
		{
			private bool resultIsReadOnly;
			private GetA8KeyReq result;
			protected override GetA8KeyReq.Builder ThisBuilder
			{
				get
				{
					return this;
				}
			}
			public override bool IsInitialized
			{
				get
				{
					return this.result.IsInitialized;
				}
			}
			protected override GetA8KeyReq MessageBeingBuilt
			{
				get
				{
					return this.PrepareBuilder();
				}
			}
			public override GetA8KeyReq DefaultInstanceForType
			{
				get
				{
					return GetA8KeyReq.DefaultInstance;
				}
			}
			public BaseRequest BaseRequest
			{
				get
				{
					return this.result.BaseRequest;
				}
				set
				{
					this.SetBaseRequest(value);
				}
			}
			public uint OpCode
			{
				get
				{
					return this.result.OpCode;
				}
				set
				{
					this.SetOpCode(value);
				}
			}
			public SKBuiltinBuffer_t A2Key
			{
				get
				{
					return this.result.A2Key;
				}
				set
				{
					this.SetA2Key(value);
				}
			}
			public SKBuiltinString_t AppID
			{
				get
				{
					return this.result.AppID;
				}
				set
				{
					this.SetAppID(value);
				}
			}
			public SKBuiltinString_t Scope
			{
				get
				{
					return this.result.Scope;
				}
				set
				{
					this.SetScope(value);
				}
			}
			public SKBuiltinString_t State
			{
				get
				{
					return this.result.State;
				}
				set
				{
					this.SetState(value);
				}
			}
			public SKBuiltinString_t ReqUrl
			{
				get
				{
					return this.result.ReqUrl;
				}
				set
				{
					this.SetReqUrl(value);
				}
			}
			public string FriendUserName
			{
				get
				{
					return this.result.FriendUserName;
				}
				set
				{
					this.SetFriendUserName(value);
				}
			}
			public uint FriendQQ
			{
				get
				{
					return this.result.FriendQQ;
				}
				set
				{
					this.SetFriendQQ(value);
				}
			}
			public uint Scene
			{
				get
				{
					return this.result.Scene;
				}
				set
				{
					this.SetScene(value);
				}
			}
			public Builder()
			{
				this.result = GetA8KeyReq.DefaultInstance;
				this.resultIsReadOnly = true;
			}
			internal Builder(GetA8KeyReq cloneFrom)
			{
				this.result = cloneFrom;
				this.resultIsReadOnly = true;
			}
			private GetA8KeyReq PrepareBuilder()
			{
				if (this.resultIsReadOnly)
				{
					GetA8KeyReq other = this.result;
					this.result = new GetA8KeyReq();
					this.resultIsReadOnly = false;
					this.MergeFrom(other);
				}
				return this.result;
			}
			public override GetA8KeyReq.Builder Clear()
			{
				this.result = GetA8KeyReq.DefaultInstance;
				this.resultIsReadOnly = true;
				return this;
			}
			public override GetA8KeyReq.Builder Clone()
			{
				if (this.resultIsReadOnly)
				{
					return new GetA8KeyReq.Builder(this.result);
				}
				return new GetA8KeyReq.Builder().MergeFrom(this.result);
			}
			public override GetA8KeyReq BuildPartial()
			{
				if (this.resultIsReadOnly)
				{
					return this.result;
				}
				this.resultIsReadOnly = true;
				return this.result.MakeReadOnly();
			}
			public override GetA8KeyReq.Builder MergeFrom(IMessageLite other)
			{
				if (other is GetA8KeyReq)
				{
					return this.MergeFrom((GetA8KeyReq)other);
				}
				base.MergeFrom(other);
				return this;
			}
			public override GetA8KeyReq.Builder MergeFrom(GetA8KeyReq other)
			{
				return this;
			}
			public override GetA8KeyReq.Builder MergeFrom(ICodedInputStream input)
			{
				return this.MergeFrom(input, ExtensionRegistry.Empty);
			}
			public override GetA8KeyReq.Builder MergeFrom(ICodedInputStream input, ExtensionRegistry extensionRegistry)
			{
				this.PrepareBuilder();
				uint num;
				string text;
				while (input.ReadTag(out num, out text))
				{
					if (num == 0u && text != null)
					{
						int num2 = Array.BinarySearch<string>(GetA8KeyReq._getA8KeyReqFieldNames, text, StringComparer.get_Ordinal());
						if (num2 < 0)
						{
							this.ParseUnknownField(input, extensionRegistry, num, text);
							continue;
						}
						num = GetA8KeyReq._getA8KeyReqFieldTags[num2];
					}
					uint num3 = num;
					if (num3 <= 34u)
					{
						if (num3 <= 10u)
						{
							if (num3 == 0u)
							{
								throw InvalidProtocolBufferException.InvalidTag();
							}
							if (num3 == 10u)
							{
								BaseRequest.Builder builder = BaseRequest.CreateBuilder();
								if (this.result.hasBaseRequest)
								{
									builder.MergeFrom(this.BaseRequest);
								}
								input.ReadMessage(builder, extensionRegistry);
								this.BaseRequest = builder.BuildPartial();
								continue;
							}
						}
						else
						{
							if (num3 == 16u)
							{
								this.result.hasOpCode = input.ReadUInt32(ref this.result.opCode_);
								continue;
							}
							if (num3 == 26u)
							{
								SKBuiltinBuffer_t.Builder builder2 = SKBuiltinBuffer_t.CreateBuilder();
								if (this.result.hasA2Key)
								{
									builder2.MergeFrom(this.A2Key);
								}
								input.ReadMessage(builder2, extensionRegistry);
								this.A2Key = builder2.BuildPartial();
								continue;
							}
							if (num3 == 34u)
							{
								SKBuiltinString_t.Builder builder3 = SKBuiltinString_t.CreateBuilder();
								if (this.result.hasAppID)
								{
									builder3.MergeFrom(this.AppID);
								}
								input.ReadMessage(builder3, extensionRegistry);
								this.AppID = builder3.BuildPartial();
								continue;
							}
						}
					}
					else
					{
						if (num3 <= 58u)
						{
							if (num3 == 42u)
							{
								SKBuiltinString_t.Builder builder4 = SKBuiltinString_t.CreateBuilder();
								if (this.result.hasScope)
								{
									builder4.MergeFrom(this.Scope);
								}
								input.ReadMessage(builder4, extensionRegistry);
								this.Scope = builder4.BuildPartial();
								continue;
							}
							if (num3 == 50u)
							{
								SKBuiltinString_t.Builder builder5 = SKBuiltinString_t.CreateBuilder();
								if (this.result.hasState)
								{
									builder5.MergeFrom(this.State);
								}
								input.ReadMessage(builder5, extensionRegistry);
								this.State = builder5.BuildPartial();
								continue;
							}
							if (num3 == 58u)
							{
								SKBuiltinString_t.Builder builder6 = SKBuiltinString_t.CreateBuilder();
								if (this.result.hasReqUrl)
								{
									builder6.MergeFrom(this.ReqUrl);
								}
								input.ReadMessage(builder6, extensionRegistry);
								this.ReqUrl = builder6.BuildPartial();
								continue;
							}
						}
						else
						{
							if (num3 == 66u)
							{
								this.result.hasFriendUserName = input.ReadString(ref this.result.friendUserName_);
								continue;
							}
							if (num3 == 72u)
							{
								this.result.hasFriendQQ = input.ReadUInt32(ref this.result.friendQQ_);
								continue;
							}
							if (num3 == 80u)
							{
								this.result.hasScene = input.ReadUInt32(ref this.result.scene_);
								continue;
							}
						}
					}
					if (WireFormat.IsEndGroupTag(num))
					{
						return this;
					}
					this.ParseUnknownField(input, extensionRegistry, num, text);
				}
				return this;
			}
			public GetA8KeyReq.Builder SetBaseRequest(BaseRequest value)
			{
				ThrowHelper.ThrowIfNull(value, "value");
				this.PrepareBuilder();
				this.result.hasBaseRequest = true;
				this.result.baseRequest_ = value;
				return this;
			}
			public GetA8KeyReq.Builder SetBaseRequest(BaseRequest.Builder builderForValue)
			{
				ThrowHelper.ThrowIfNull(builderForValue, "builderForValue");
				this.PrepareBuilder();
				this.result.hasBaseRequest = true;
				this.result.baseRequest_ = builderForValue.Build();
				return this;
			}
			public GetA8KeyReq.Builder MergeBaseRequest(BaseRequest value)
			{
				ThrowHelper.ThrowIfNull(value, "value");
				this.PrepareBuilder();
				if (this.result.hasBaseRequest && this.result.baseRequest_ != BaseRequest.DefaultInstance)
				{
					this.result.baseRequest_ = BaseRequest.CreateBuilder(this.result.baseRequest_).MergeFrom(value).BuildPartial();
				}
				else
				{
					this.result.baseRequest_ = value;
				}
				this.result.hasBaseRequest = true;
				return this;
			}
			public GetA8KeyReq.Builder ClearBaseRequest()
			{
				this.PrepareBuilder();
				this.result.hasBaseRequest = false;
				this.result.baseRequest_ = null;
				return this;
			}
			public GetA8KeyReq.Builder SetOpCode(uint value)
			{
				this.PrepareBuilder();
				this.result.hasOpCode = true;
				this.result.opCode_ = value;
				return this;
			}
			public GetA8KeyReq.Builder ClearOpCode()
			{
				this.PrepareBuilder();
				this.result.hasOpCode = false;
				this.result.opCode_ = 0u;
				return this;
			}
			public GetA8KeyReq.Builder SetA2Key(SKBuiltinBuffer_t value)
			{
				ThrowHelper.ThrowIfNull(value, "value");
				this.PrepareBuilder();
				this.result.hasA2Key = true;
				this.result.a2Key_ = value;
				return this;
			}
			public GetA8KeyReq.Builder SetA2Key(SKBuiltinBuffer_t.Builder builderForValue)
			{
				ThrowHelper.ThrowIfNull(builderForValue, "builderForValue");
				this.PrepareBuilder();
				this.result.hasA2Key = true;
				this.result.a2Key_ = builderForValue.Build();
				return this;
			}
			public GetA8KeyReq.Builder MergeA2Key(SKBuiltinBuffer_t value)
			{
				ThrowHelper.ThrowIfNull(value, "value");
				this.PrepareBuilder();
				if (this.result.hasA2Key && this.result.a2Key_ != SKBuiltinBuffer_t.DefaultInstance)
				{
					this.result.a2Key_ = SKBuiltinBuffer_t.CreateBuilder(this.result.a2Key_).MergeFrom(value).BuildPartial();
				}
				else
				{
					this.result.a2Key_ = value;
				}
				this.result.hasA2Key = true;
				return this;
			}
			public GetA8KeyReq.Builder ClearA2Key()
			{
				this.PrepareBuilder();
				this.result.hasA2Key = false;
				this.result.a2Key_ = null;
				return this;
			}
			public GetA8KeyReq.Builder SetAppID(SKBuiltinString_t value)
			{
				ThrowHelper.ThrowIfNull(value, "value");
				this.PrepareBuilder();
				this.result.hasAppID = true;
				this.result.appID_ = value;
				return this;
			}
			public GetA8KeyReq.Builder SetAppID(SKBuiltinString_t.Builder builderForValue)
			{
				ThrowHelper.ThrowIfNull(builderForValue, "builderForValue");
				this.PrepareBuilder();
				this.result.hasAppID = true;
				this.result.appID_ = builderForValue.Build();
				return this;
			}
			public GetA8KeyReq.Builder MergeAppID(SKBuiltinString_t value)
			{
				ThrowHelper.ThrowIfNull(value, "value");
				this.PrepareBuilder();
				if (this.result.hasAppID && this.result.appID_ != SKBuiltinString_t.DefaultInstance)
				{
					this.result.appID_ = SKBuiltinString_t.CreateBuilder(this.result.appID_).MergeFrom(value).BuildPartial();
				}
				else
				{
					this.result.appID_ = value;
				}
				this.result.hasAppID = true;
				return this;
			}
			public GetA8KeyReq.Builder ClearAppID()
			{
				this.PrepareBuilder();
				this.result.hasAppID = false;
				this.result.appID_ = null;
				return this;
			}
			public GetA8KeyReq.Builder SetScope(SKBuiltinString_t value)
			{
				ThrowHelper.ThrowIfNull(value, "value");
				this.PrepareBuilder();
				this.result.hasScope = true;
				this.result.scope_ = value;
				return this;
			}
			public GetA8KeyReq.Builder SetScope(SKBuiltinString_t.Builder builderForValue)
			{
				ThrowHelper.ThrowIfNull(builderForValue, "builderForValue");
				this.PrepareBuilder();
				this.result.hasScope = true;
				this.result.scope_ = builderForValue.Build();
				return this;
			}
			public GetA8KeyReq.Builder MergeScope(SKBuiltinString_t value)
			{
				ThrowHelper.ThrowIfNull(value, "value");
				this.PrepareBuilder();
				if (this.result.hasScope && this.result.scope_ != SKBuiltinString_t.DefaultInstance)
				{
					this.result.scope_ = SKBuiltinString_t.CreateBuilder(this.result.scope_).MergeFrom(value).BuildPartial();
				}
				else
				{
					this.result.scope_ = value;
				}
				this.result.hasScope = true;
				return this;
			}
			public GetA8KeyReq.Builder ClearScope()
			{
				this.PrepareBuilder();
				this.result.hasScope = false;
				this.result.scope_ = null;
				return this;
			}
			public GetA8KeyReq.Builder SetState(SKBuiltinString_t value)
			{
				ThrowHelper.ThrowIfNull(value, "value");
				this.PrepareBuilder();
				this.result.hasState = true;
				this.result.state_ = value;
				return this;
			}
			public GetA8KeyReq.Builder SetState(SKBuiltinString_t.Builder builderForValue)
			{
				ThrowHelper.ThrowIfNull(builderForValue, "builderForValue");
				this.PrepareBuilder();
				this.result.hasState = true;
				this.result.state_ = builderForValue.Build();
				return this;
			}
			public GetA8KeyReq.Builder MergeState(SKBuiltinString_t value)
			{
				ThrowHelper.ThrowIfNull(value, "value");
				this.PrepareBuilder();
				if (this.result.hasState && this.result.state_ != SKBuiltinString_t.DefaultInstance)
				{
					this.result.state_ = SKBuiltinString_t.CreateBuilder(this.result.state_).MergeFrom(value).BuildPartial();
				}
				else
				{
					this.result.state_ = value;
				}
				this.result.hasState = true;
				return this;
			}
			public GetA8KeyReq.Builder ClearState()
			{
				this.PrepareBuilder();
				this.result.hasState = false;
				this.result.state_ = null;
				return this;
			}
			public GetA8KeyReq.Builder SetReqUrl(SKBuiltinString_t value)
			{
				ThrowHelper.ThrowIfNull(value, "value");
				this.PrepareBuilder();
				this.result.hasReqUrl = true;
				this.result.reqUrl_ = value;
				return this;
			}
			public GetA8KeyReq.Builder SetReqUrl(SKBuiltinString_t.Builder builderForValue)
			{
				ThrowHelper.ThrowIfNull(builderForValue, "builderForValue");
				this.PrepareBuilder();
				this.result.hasReqUrl = true;
				this.result.reqUrl_ = builderForValue.Build();
				return this;
			}
			public GetA8KeyReq.Builder MergeReqUrl(SKBuiltinString_t value)
			{
				ThrowHelper.ThrowIfNull(value, "value");
				this.PrepareBuilder();
				if (this.result.hasReqUrl && this.result.reqUrl_ != SKBuiltinString_t.DefaultInstance)
				{
					this.result.reqUrl_ = SKBuiltinString_t.CreateBuilder(this.result.reqUrl_).MergeFrom(value).BuildPartial();
				}
				else
				{
					this.result.reqUrl_ = value;
				}
				this.result.hasReqUrl = true;
				return this;
			}
			public GetA8KeyReq.Builder ClearReqUrl()
			{
				this.PrepareBuilder();
				this.result.hasReqUrl = false;
				this.result.reqUrl_ = null;
				return this;
			}
			public GetA8KeyReq.Builder SetFriendUserName(string value)
			{
				ThrowHelper.ThrowIfNull(value, "value");
				this.PrepareBuilder();
				this.result.hasFriendUserName = true;
				this.result.friendUserName_ = value;
				return this;
			}
			public GetA8KeyReq.Builder ClearFriendUserName()
			{
				this.PrepareBuilder();
				this.result.hasFriendUserName = false;
				this.result.friendUserName_ = "";
				return this;
			}
			public GetA8KeyReq.Builder SetFriendQQ(uint value)
			{
				this.PrepareBuilder();
				this.result.hasFriendQQ = true;
				this.result.friendQQ_ = value;
				return this;
			}
			public GetA8KeyReq.Builder ClearFriendQQ()
			{
				this.PrepareBuilder();
				this.result.hasFriendQQ = false;
				this.result.friendQQ_ = 0u;
				return this;
			}
			public GetA8KeyReq.Builder SetScene(uint value)
			{
				this.PrepareBuilder();
				this.result.hasScene = true;
				this.result.scene_ = value;
				return this;
			}
			public GetA8KeyReq.Builder ClearScene()
			{
				this.PrepareBuilder();
				this.result.hasScene = false;
				this.result.scene_ = 0u;
				return this;
			}
		}
		public const int BaseRequestFieldNumber = 1;
		public const int OpCodeFieldNumber = 2;
		public const int A2KeyFieldNumber = 3;
		public const int AppIDFieldNumber = 4;
		public const int ScopeFieldNumber = 5;
		public const int StateFieldNumber = 6;
		public const int ReqUrlFieldNumber = 7;
		public const int FriendUserNameFieldNumber = 8;
		public const int FriendQQFieldNumber = 9;
		public const int SceneFieldNumber = 10;
		private static readonly GetA8KeyReq defaultInstance;
		private static readonly string[] _getA8KeyReqFieldNames;
		private static readonly uint[] _getA8KeyReqFieldTags;
		private bool hasBaseRequest;
		private BaseRequest baseRequest_;
		private bool hasOpCode;
		private uint opCode_;
		private bool hasA2Key;
		private SKBuiltinBuffer_t a2Key_;
		private bool hasAppID;
		private SKBuiltinString_t appID_;
		private bool hasScope;
		private SKBuiltinString_t scope_;
		private bool hasState;
		private SKBuiltinString_t state_;
		private bool hasReqUrl;
		private SKBuiltinString_t reqUrl_;
		private bool hasFriendUserName;
		private string friendUserName_ = "";
		private bool hasFriendQQ;
		private uint friendQQ_;
		private bool hasScene;
		private uint scene_;
		private int memoizedSerializedSize = -1;
		public static GetA8KeyReq DefaultInstance
		{
			get
			{
				return GetA8KeyReq.defaultInstance;
			}
		}
		public override GetA8KeyReq DefaultInstanceForType
		{
			get
			{
				return GetA8KeyReq.DefaultInstance;
			}
		}
		protected override GetA8KeyReq ThisMessage
		{
			get
			{
				return this;
			}
		}
		public BaseRequest BaseRequest
		{
			get
			{
				return this.baseRequest_ ?? BaseRequest.DefaultInstance;
			}
		}
		public uint OpCode
		{
			get
			{
				return this.opCode_;
			}
		}
		public SKBuiltinBuffer_t A2Key
		{
			get
			{
				return this.a2Key_ ?? SKBuiltinBuffer_t.DefaultInstance;
			}
		}
		public SKBuiltinString_t AppID
		{
			get
			{
				return this.appID_ ?? SKBuiltinString_t.DefaultInstance;
			}
		}
		public SKBuiltinString_t Scope
		{
			get
			{
				return this.scope_ ?? SKBuiltinString_t.DefaultInstance;
			}
		}
		public SKBuiltinString_t State
		{
			get
			{
				return this.state_ ?? SKBuiltinString_t.DefaultInstance;
			}
		}
		public SKBuiltinString_t ReqUrl
		{
			get
			{
				return this.reqUrl_ ?? SKBuiltinString_t.DefaultInstance;
			}
		}
		public string FriendUserName
		{
			get
			{
				return this.friendUserName_;
			}
		}
		public uint FriendQQ
		{
			get
			{
				return this.friendQQ_;
			}
		}
		public uint Scene
		{
			get
			{
				return this.scene_;
			}
		}
		public override bool IsInitialized
		{
			get
			{
				return this.hasBaseRequest && this.hasOpCode && this.hasA2Key && this.BaseRequest.IsInitialized && this.A2Key.IsInitialized;
			}
		}
		public override int SerializedSize
		{
			get
			{
				int num = this.memoizedSerializedSize;
				if (num != -1)
				{
					return num;
				}
				num = 0;
				if (this.hasBaseRequest)
				{
					num += CodedOutputStream.ComputeMessageSize(1, this.BaseRequest);
				}
				if (this.hasOpCode)
				{
					num += CodedOutputStream.ComputeUInt32Size(2, this.OpCode);
				}
				if (this.hasA2Key)
				{
					num += CodedOutputStream.ComputeMessageSize(3, this.A2Key);
				}
				if (this.hasAppID)
				{
					num += CodedOutputStream.ComputeMessageSize(4, this.AppID);
				}
				if (this.hasScope)
				{
					num += CodedOutputStream.ComputeMessageSize(5, this.Scope);
				}
				if (this.hasState)
				{
					num += CodedOutputStream.ComputeMessageSize(6, this.State);
				}
				if (this.hasReqUrl)
				{
					num += CodedOutputStream.ComputeMessageSize(7, this.ReqUrl);
				}
				if (this.hasFriendUserName)
				{
					num += CodedOutputStream.ComputeStringSize(8, this.FriendUserName);
				}
				if (this.hasFriendQQ)
				{
					num += CodedOutputStream.ComputeUInt32Size(9, this.FriendQQ);
				}
				if (this.hasScene)
				{
					num += CodedOutputStream.ComputeUInt32Size(10, this.Scene);
				}
				this.memoizedSerializedSize = num;
				return num;
			}
		}
		private GetA8KeyReq()
		{
		}
		public override void WriteTo(ICodedOutputStream output)
		{
			int arg_06_0 = this.SerializedSize;
			string[] getA8KeyReqFieldNames = GetA8KeyReq._getA8KeyReqFieldNames;
			if (this.hasBaseRequest)
			{
				output.WriteMessage(1, getA8KeyReqFieldNames[2], this.BaseRequest);
			}
			if (this.hasOpCode)
			{
				output.WriteUInt32(2, getA8KeyReqFieldNames[5], this.OpCode);
			}
			if (this.hasA2Key)
			{
				output.WriteMessage(3, getA8KeyReqFieldNames[0], this.A2Key);
			}
			if (this.hasAppID)
			{
				output.WriteMessage(4, getA8KeyReqFieldNames[1], this.AppID);
			}
			if (this.hasScope)
			{
				output.WriteMessage(5, getA8KeyReqFieldNames[8], this.Scope);
			}
			if (this.hasState)
			{
				output.WriteMessage(6, getA8KeyReqFieldNames[9], this.State);
			}
			if (this.hasReqUrl)
			{
				output.WriteMessage(7, getA8KeyReqFieldNames[6], this.ReqUrl);
			}
			if (this.hasFriendUserName)
			{
				output.WriteString(8, getA8KeyReqFieldNames[4], this.FriendUserName);
			}
			if (this.hasFriendQQ)
			{
				output.WriteUInt32(9, getA8KeyReqFieldNames[3], this.FriendQQ);
			}
			if (this.hasScene)
			{
				output.WriteUInt32(10, getA8KeyReqFieldNames[7], this.Scene);
			}
		}
		public override int GetHashCode()
		{
			int num = base.GetType().GetHashCode();
			if (this.hasBaseRequest)
			{
				num ^= this.baseRequest_.GetHashCode();
			}
			if (this.hasOpCode)
			{
				num ^= this.opCode_.GetHashCode();
			}
			if (this.hasA2Key)
			{
				num ^= this.a2Key_.GetHashCode();
			}
			if (this.hasAppID)
			{
				num ^= this.appID_.GetHashCode();
			}
			if (this.hasScope)
			{
				num ^= this.scope_.GetHashCode();
			}
			if (this.hasState)
			{
				num ^= this.state_.GetHashCode();
			}
			if (this.hasReqUrl)
			{
				num ^= this.reqUrl_.GetHashCode();
			}
			if (this.hasFriendUserName)
			{
				num ^= this.friendUserName_.GetHashCode();
			}
			if (this.hasFriendQQ)
			{
				num ^= this.friendQQ_.GetHashCode();
			}
			if (this.hasScene)
			{
				num ^= this.scene_.GetHashCode();
			}
			return num;
		}
		public override bool Equals(object object_0)
		{
			GetA8KeyReq getA8KeyReq = object_0 as GetA8KeyReq;
			return getA8KeyReq != null && (this.hasBaseRequest == getA8KeyReq.hasBaseRequest && (!this.hasBaseRequest || this.baseRequest_.Equals(getA8KeyReq.baseRequest_))) && (this.hasOpCode == getA8KeyReq.hasOpCode && (!this.hasOpCode || this.opCode_.Equals(getA8KeyReq.opCode_))) && (this.hasA2Key == getA8KeyReq.hasA2Key && (!this.hasA2Key || this.a2Key_.Equals(getA8KeyReq.a2Key_))) && (this.hasAppID == getA8KeyReq.hasAppID && (!this.hasAppID || this.appID_.Equals(getA8KeyReq.appID_))) && (this.hasScope == getA8KeyReq.hasScope && (!this.hasScope || this.scope_.Equals(getA8KeyReq.scope_))) && (this.hasState == getA8KeyReq.hasState && (!this.hasState || this.state_.Equals(getA8KeyReq.state_))) && (this.hasReqUrl == getA8KeyReq.hasReqUrl && (!this.hasReqUrl || this.reqUrl_.Equals(getA8KeyReq.reqUrl_))) && (this.hasFriendUserName == getA8KeyReq.hasFriendUserName && (!this.hasFriendUserName || this.friendUserName_.Equals(getA8KeyReq.friendUserName_))) && (this.hasFriendQQ == getA8KeyReq.hasFriendQQ && (!this.hasFriendQQ || this.friendQQ_.Equals(getA8KeyReq.friendQQ_))) && (this.hasScene == getA8KeyReq.hasScene && (!this.hasScene || this.scene_.Equals(getA8KeyReq.scene_)));
		}
		public override void PrintTo(TextWriter writer)
		{
			GeneratedMessageLite<GetA8KeyReq, GetA8KeyReq.Builder>.PrintField("BaseRequest", this.hasBaseRequest, this.baseRequest_, writer);
			GeneratedMessageLite<GetA8KeyReq, GetA8KeyReq.Builder>.PrintField("OpCode", this.hasOpCode, this.opCode_, writer);
			GeneratedMessageLite<GetA8KeyReq, GetA8KeyReq.Builder>.PrintField("A2Key", this.hasA2Key, this.a2Key_, writer);
			GeneratedMessageLite<GetA8KeyReq, GetA8KeyReq.Builder>.PrintField("AppID", this.hasAppID, this.appID_, writer);
			GeneratedMessageLite<GetA8KeyReq, GetA8KeyReq.Builder>.PrintField("Scope", this.hasScope, this.scope_, writer);
			GeneratedMessageLite<GetA8KeyReq, GetA8KeyReq.Builder>.PrintField("State", this.hasState, this.state_, writer);
			GeneratedMessageLite<GetA8KeyReq, GetA8KeyReq.Builder>.PrintField("ReqUrl", this.hasReqUrl, this.reqUrl_, writer);
			GeneratedMessageLite<GetA8KeyReq, GetA8KeyReq.Builder>.PrintField("FriendUserName", this.hasFriendUserName, this.friendUserName_, writer);
			GeneratedMessageLite<GetA8KeyReq, GetA8KeyReq.Builder>.PrintField("FriendQQ", this.hasFriendQQ, this.friendQQ_, writer);
			GeneratedMessageLite<GetA8KeyReq, GetA8KeyReq.Builder>.PrintField("Scene", this.hasScene, this.scene_, writer);
		}
		public static GetA8KeyReq ParseFrom(byte[] data)
		{
			return GetA8KeyReq.CreateBuilder().MergeFrom(data).BuildParsed();
		}
		private GetA8KeyReq MakeReadOnly()
		{
			return this;
		}
		public static GetA8KeyReq.Builder CreateBuilder()
		{
			return new GetA8KeyReq.Builder();
		}
		public override GetA8KeyReq.Builder ToBuilder()
		{
			return GetA8KeyReq.CreateBuilder(this);
		}
		public override GetA8KeyReq.Builder CreateBuilderForType()
		{
			return new GetA8KeyReq.Builder();
		}
		public static GetA8KeyReq.Builder CreateBuilder(GetA8KeyReq prototype)
		{
			return new GetA8KeyReq.Builder(prototype);
		}
		static GetA8KeyReq()
		{
			GetA8KeyReq.defaultInstance = new GetA8KeyReq().MakeReadOnly();
			GetA8KeyReq._getA8KeyReqFieldNames = new string[]
			{
				"A2Key",
				"AppID",
				"BaseRequest",
				"FriendQQ",
				"FriendUserName",
				"OpCode",
				"ReqUrl",
				"Scene",
				"Scope",
				"State"
			};
			GetA8KeyReq._getA8KeyReqFieldTags = new uint[]
			{
				26u,
				34u,
				10u,
				72u,
				66u,
				16u,
				58u,
				80u,
				42u,
				50u
			};
			object.ReferenceEquals(micromsg.Proto.GetA8KeyReq.Descriptor, null);
		}
	}
}
